package plantshop.controller.moves;

import java.io.Serializable;

import plantshop.model.Customer;
import plantshop.model.Game;

public class CustomerFindGoalMove extends TimeMove implements Serializable{
	private static final long serialVersionUID = 4450602188360724912L;
	private Customer customer;
	
	public CustomerFindGoalMove(Customer c){
		customer = c;
	}
	@Override
	public void execute(Game game) {
		customer.setGoalPlant(game.getStore().findGoalPlant(customer));
		customer.setGoalLoc(game.getStore().findGoalLoc(customer));
	}

}
